package com.tsing.pojo.vo;

/**
 * @auth 卢孝宇
 * @date 2023/12/12 10:10
 */
public class CommentDetailsVO {
    private Long detailsId;   //评论id
    private String userName;      //评论的用户Id
    private String userImage;   //用户头像
    private Long postId;      //评论的帖子
    private String comments;     //用户的评论
    private String recoveryTime; //评论发布时间
    private String address;      //发布地址
    private Long likeCount;   //点赞数

    private Boolean flag;        //是否点赞该帖子


    public CommentDetailsVO() {
    }

    public CommentDetailsVO(Long detailsId, String userName, String userImage, Long postId, String comments, String recoveryTime, String address, Long likeCount, Boolean flag) {
        this.detailsId = detailsId;
        this.userName = userName;
        this.userImage = userImage;
        this.postId = postId;
        this.comments = comments;
        this.recoveryTime = recoveryTime;
        this.address = address;
        this.likeCount = likeCount;
        this.flag = flag;
    }

    /**
     * 获取
     * @return detailsId
     */
    public Long getDetailsId() {
        return detailsId;
    }

    /**
     * 设置
     * @param detailsId
     */
    public void setDetailsId(Long detailsId) {
        this.detailsId = detailsId;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return userImage
     */
    public String getUserImage() {
        return userImage;
    }

    /**
     * 设置
     * @param userImage
     */
    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    /**
     * 获取
     * @return postId
     */
    public Long getPostId() {
        return postId;
    }

    /**
     * 设置
     * @param postId
     */
    public void setPostId(Long postId) {
        this.postId = postId;
    }

    /**
     * 获取
     * @return comments
     */
    public String getComments() {
        return comments;
    }

    /**
     * 设置
     * @param comments
     */
    public void setComments(String comments) {
        this.comments = comments;
    }

    /**
     * 获取
     * @return recoveryTime
     */
    public String getRecoveryTime() {
        return recoveryTime;
    }

    /**
     * 设置
     * @param recoveryTime
     */
    public void setRecoveryTime(String recoveryTime) {
        this.recoveryTime = recoveryTime;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return likeCount
     */
    public Long getLikeCount() {
        return likeCount;
    }

    /**
     * 设置
     * @param likeCount
     */
    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    /**
     * 获取
     * @return flag
     */
    public Boolean getFlag() {
        return flag;
    }

    /**
     * 设置
     * @param flag
     */
    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    public String toString() {
        return "CommentDetailsVO{detailsId = " + detailsId + ", userName = " + userName + ", userImage = " + userImage + ", postId = " + postId + ", comments = " + comments + ", recoveryTime = " + recoveryTime + ", address = " + address + ", likeCount = " + likeCount + ", flag = " + flag + "}";
    }
}
